package com.darren.framework.utils;

public class Constant {

    public static final String NO_DATA = "no_data";

    public static final String NO = "N";

    public static final String YES = "Y";

    /******************response type*************************/
    public static final String PDF = "application/pdf";

    public static final String CSV = "text/csv";

    public static final String IMAGES = "image/jpg";

    public static final String XML = "xml";

    public static final String DOWNLOAD_ZIP = "application/x-msdownload";

    /************Cache Name*********************************************/
    public static final String CACHE_APPLICATION = "application";

    public static final String CACHE_COMMON = "common";

    public static final String CACHE_SYSTEM_PARAMS = "systemParameter";

    public static final String CACHE_SYS_FUNCTIONS = "sysFunction";

    public static final String CACHE_SYS_DEPARTMENTS = "sysDepartment";

    public static final String CACHE_SYS_USERS = "sysUser";

    public static final String CACHE_PLACES = "place";


    /******* GET/POST*******/
    public static final String GET = "GET";
    public static final String POST = "POST";

    public static final String DOWNLOAD_TEMP_PATH = "d:/temp";

    public static final Integer STATUS_SUCCESS = 0;
    public static final String STATUS_SUCCESS_MESSAGE = "操作成功";
    public static final Integer STATUS_FAIL = -1;
    public static final String STATUS_FAIL_MESSAGE = "操作失败";

    public static final String ACCESS_TOKEN = "access_token";
    public static final String REFRESH_TOKEN = "refresh_token";

    public static final Integer PAGE_SIZE = 30;

    public static final String PAGE_SIZE_STRING = "30";

    public static final String DEFAULT_PASSWORD = "123456";

    /**
     * 表名前缀
     */
    public static final String TABLE_NAME_PREV = "d_";

}

